package Practice03.banking;

public class Account {
    private double balance;
    public Account(double initBalance){
        balance = initBalance;
    }

    public double getBalance() {
        return balance;
    }

    public void deposit(double amt){
        balance += amt;
    }

    public void withdraw(double amt){
        balance -= amt;
    }
}
